*/
#include "defs.h"
-#include "magellan.h"
+// #include "magellan.h"
#include "csv_util.h"
static FILE *file_in;
static FILE *file_out;
-static FILE *linkf;
static void *mkshort_handle;
static void *mkshort_whandle;
#define MYNAME "GPSUTIL"
-static double maxlat, maxlon, minlat, minlon, latsum, lonsum;
+static double maxlat, maxlon, minlat, minlon;
int rec_cnt;
static char *nolabels = NULL;
static char *genurl = NULL;
* the projection transformations. Some trig geek can finish that.
*/
#if CLICKMAP
+static FILE *linkf;
static char *clickmap = NULL;
#endif
fprintf(file_out, "\n");
}
+#if CLICKMAP
static void
map_plot(const waypoint *wpt)
{
fprintf(linkf, "<area shape=\"circle\" coords=\"%d,%d,7\" href=\"%s\" alt=\"%s\"\n", x, y, wpt->url, wpt->description);
}
+#endif /* CLICKMAP */
static double
dscale(double distance)